#ifndef INC_JY62_H_
#define INC_JY62_H_

#include "bsp_system.h"

void jy61p_ReceiveData(uint8_t RxData);
extern float Roll,Pitch,Yaw;
extern float  aX,aY,aZ ;
extern float wX,wY,wZ;
extern uint8_t jy62_data;
extern float Yaw_target;
extern void encoder_reset();
extern float control_val;
//extern float L_comp;
//extern float R_comp;
extern uint8_t stop_flag;

void jy62_init(void);
void jy62_proc(void);

#endif /* INC_JY62_H_ */